package com.zx.mes.hyl.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 轮胎生产信息表
 * </p>
 *
 * @author 华云龙
 * @since 2018-08-01
 */
public class TBarcode extends Model<TBarcode> {

    private static final long serialVersionUID = 1L;

    /**
     * 轮胎条码号
     */
    private String barcodeNo;
    /**
     * 物料编码
     */
    private String productId;
    /**
     * 批次号
     */
    private String batchNo;
    /**
     * 生产车间
     */
    private String factory;
    /**
     * 库房
     */
    private String whNo;
    /**
     * 检测机台
     */
    private String checkEquip;
    /**
     * 品级
     */
    private String grade;
    /**
     * OE/RE
     */
    private String oeRe;
    /**
     * 内销/外销/不贴标
     */
    private String saleType;
    /**
     * 绑定订单号
     */
    private String outListNo;
    /**
     * 预计发货时间
     */
    private Date planOutDate;
    /**
     * 检测时间
     */
    private Date checkDate;
    /**
     * 生产时间
     */
    private Date prodDate;
    /**
     * 分拣口,wcs反填
     */
    private String portNo;
    /**
     * 分拣时间  wcs反填
     */
    private Date psDate;
    /**
     * 锁定标志  0:  不锁定  1：锁定
     */
    private Long lockFlag;
    /**
     * 备用字段1
     */
    private Long resParam1;
    /**
     * 备用字段2
     */
    private String resParam2;
    /**
     * 备用字段3
     */
    private String resParam3;
    /**
     * MES写入置1，WMS取过置0，信息异常置2
     */
    private Long updateFlag;
    /**
     * 创建时间
     */
    private Date creationDate;
    /**
     * 创建人  默认‘123’ mes
     */
    private String createdBy;
    /**
     * 最后更新时间
     */
    private Date lastUpdateDate;
    /**
     * 最后更新人
     */
    private String lastUpdatedBy;
    /**
     * 默认为0表示新增，1表示更新，2表示删除
     */
    private Long operateFlag;
    /**
     * 默认为0表示未经过全景扫描，1表示已扫描
     */
    private Long scanFlag;
    /**
     * 备注
     */
    private String memo;
    /**
     * 上行标志  1：待处理  0：已处理
     */
    private Integer uploadFlag;
    private Date wmsCreateTime;
    private Integer lockUpdateFlag;


    public String getBarcodeNo() {
        return barcodeNo;
    }

    public void setBarcodeNo(String barcodeNo) {
        this.barcodeNo = barcodeNo;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getWhNo() {
        return whNo;
    }

    public void setWhNo(String whNo) {
        this.whNo = whNo;
    }

    public String getCheckEquip() {
        return checkEquip;
    }

    public void setCheckEquip(String checkEquip) {
        this.checkEquip = checkEquip;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getOeRe() {
        return oeRe;
    }

    public void setOeRe(String oeRe) {
        this.oeRe = oeRe;
    }

    public String getSaleType() {
        return saleType;
    }

    public void setSaleType(String saleType) {
        this.saleType = saleType;
    }

    public String getOutListNo() {
        return outListNo;
    }

    public void setOutListNo(String outListNo) {
        this.outListNo = outListNo;
    }

    public Date getPlanOutDate() {
        return planOutDate;
    }

    public void setPlanOutDate(Date planOutDate) {
        this.planOutDate = planOutDate;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public Date getProdDate() {
        return prodDate;
    }

    public void setProdDate(Date prodDate) {
        this.prodDate = prodDate;
    }

    public String getPortNo() {
        return portNo;
    }

    public void setPortNo(String portNo) {
        this.portNo = portNo;
    }

    public Date getPsDate() {
        return psDate;
    }

    public void setPsDate(Date psDate) {
        this.psDate = psDate;
    }

    public Long getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(Long lockFlag) {
        this.lockFlag = lockFlag;
    }

    public Long getResParam1() {
        return resParam1;
    }

    public void setResParam1(Long resParam1) {
        this.resParam1 = resParam1;
    }

    public String getResParam2() {
        return resParam2;
    }

    public void setResParam2(String resParam2) {
        this.resParam2 = resParam2;
    }

    public String getResParam3() {
        return resParam3;
    }

    public void setResParam3(String resParam3) {
        this.resParam3 = resParam3;
    }

    public Long getUpdateFlag() {
        return updateFlag;
    }

    public void setUpdateFlag(Long updateFlag) {
        this.updateFlag = updateFlag;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Long getOperateFlag() {
        return operateFlag;
    }

    public void setOperateFlag(Long operateFlag) {
        this.operateFlag = operateFlag;
    }

    public Long getScanFlag() {
        return scanFlag;
    }

    public void setScanFlag(Long scanFlag) {
        this.scanFlag = scanFlag;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getUploadFlag() {
        return uploadFlag;
    }

    public void setUploadFlag(Integer uploadFlag) {
        this.uploadFlag = uploadFlag;
    }

    public Date getWmsCreateTime() {
        return wmsCreateTime;
    }

    public void setWmsCreateTime(Date wmsCreateTime) {
        this.wmsCreateTime = wmsCreateTime;
    }

    public Integer getLockUpdateFlag() {
        return lockUpdateFlag;
    }

    public void setLockUpdateFlag(Integer lockUpdateFlag) {
        this.lockUpdateFlag = lockUpdateFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.barcodeNo;
    }

    @Override
    public String toString() {
        return "TBarcode{" +
        "barcodeNo=" + barcodeNo +
        ", productId=" + productId +
        ", batchNo=" + batchNo +
        ", factory=" + factory +
        ", whNo=" + whNo +
        ", checkEquip=" + checkEquip +
        ", grade=" + grade +
        ", oeRe=" + oeRe +
        ", saleType=" + saleType +
        ", outListNo=" + outListNo +
        ", planOutDate=" + planOutDate +
        ", checkDate=" + checkDate +
        ", prodDate=" + prodDate +
        ", portNo=" + portNo +
        ", psDate=" + psDate +
        ", lockFlag=" + lockFlag +
        ", resParam1=" + resParam1 +
        ", resParam2=" + resParam2 +
        ", resParam3=" + resParam3 +
        ", updateFlag=" + updateFlag +
        ", creationDate=" + creationDate +
        ", createdBy=" + createdBy +
        ", lastUpdateDate=" + lastUpdateDate +
        ", lastUpdatedBy=" + lastUpdatedBy +
        ", operateFlag=" + operateFlag +
        ", scanFlag=" + scanFlag +
        ", memo=" + memo +
        ", uploadFlag=" + uploadFlag +
        ", wmsCreateTime=" + wmsCreateTime +
        ", lockUpdateFlag=" + lockUpdateFlag +
        "}";
    }
}
